package com.fg.pro.trade.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * 销售报表信息(TradeSaleOther)表实体类
 *
 * @author makejava
 * @since 2025-08-28 11:08:19
 */
@SuppressWarnings("serial")
@Data
public class TradeSaleOther extends Model<TradeSaleOther> {
//主键
    private Long id;
//下单日期
    private Date createTime;
//客户id
    private Long customerId;
//客户编码
    private String saleCustomerCode;
//客户名称
    private String saleCustomerName;
//客户标签
    private String saleCustomerTag;
//客户线路	
    private String saleCustomerLine;
//商品id
    private Long goodsId;
//商品编码
    private String saleGoodsCode;
//商品名称
    private String saleGoodsName;
//商品税收分类编码
    private String saleGoodsTaxCode;
//商品标签
    private String saleGoodsTag;
//商品一级分类id
    private Long saleCategoryFirId;
//商品一级分类名称
    private String saleCategoryFirName;
//商品二级分类id
    private Long saleCategorySecId;
//商品二级分类名称
    private String saleCategorySecName;
//基本单位
    private String saleGoodsBaseUnit;
//单价（基本单位）
    private Double saleGoodsBasePrice;
//出库数（基本单位）
    private Double saleGoodsBaseOutstock;
//出库数（下单单位）
    private Double saleGoodsOrderOutstock;
//下单单位	
    private String saleGoodsOrderUnit;
//下单数
    private Double saleGoodsOrderQuantity;
//单价（下单单位
    private Double saleGoodsOrderUnitPrice;
//下单金额
    private Double saleGoodsOrderPrice;
//销售出库金额
    private Double saleGoodsSaleOutstockPrice;
//售后金额
    private Double saleGoodsSaleReturnPrice;
//实际成交额
    private Double saleGoodsRealDealPrice;
//销售税额
    private Double saleGoodsSaleTaxPrice;
//出库成本金额
    private Double saleGoodsOutstockCostPrice;
//销售毛利
    private Double saleGoodsSaleGrossPrice;
//销售毛利率 税率 *100
    private Double saleGoodsSaleGrossMargin;
//出库金额补差
    private Double saleGoodsOutstockDifferPrice;
//下单金额补差
    private Double saleGoodsOrderDifferPrice;
//成本毛利率 税率 *100
    private Double saleGoodsOrderGrossMargin;
//出库成本均价
    private Double saleGoodsOutstockCostAvgPrice;
//税率 *100
    private Double saleGoodsTaxMargin;
//售后成本
    private Double saleGoodsSaleReturnCostPrice;
//订单号
    private String saleGoodsOrderCode;



    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
}

